const evevlists = require("../sql/evenlist")
const sql = require('../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
   sql.remove(evevlists,{_id:req.fields._id}).then(()=>{
      res.send({
         code:0,
         msg:"删除成功"
      })
   })
}